package com.arlin.myRule;

import com.netflix.loadbalancer.IRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName: ArlinRule
 * @Description: TODO
 * @Author: arlin
 * @Date: 2021/3/22
 */
@Configuration
public class ArlinRule {

    @Bean
    public IRule myRule() {
        return new ArlinRandomRule();
    }
}
